#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "common.h"


QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    void init_reg();
    void add_result(char* result);
    void helloworld();
    void flush_reg();
    void step_exec();
    void launch();
    void Qstringtochar(QString* qstring , char* reschar);
    void flush_watch();
    QString file_name;

private slots:
    void on_step_exec_clicked();

    void on_continue_2_clicked();

    void on_expr_editingFinished();

    void on_menu_file_triggered();

    void on_menu_start_triggered();

    void on_menu_clear_triggered();

    void on_watch_expr_editingFinished();

private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
